Auto merge of #4305 - nodakai:fix-4278-tests-on-empty-ld_library_path, r=matklad
authorbors <bors@rust-lang.org>
Fri, 21 Jul 2017 20:52:24 +0000 (20:52 +0000)
committerbors <bors@rust-lang.org>
Fri, 21 Jul 2017 20:52:24 +0000 (20:52 +0000)
tests/build.rs: remove empty components from LD_LIBRARY_PATH to fix #4278

The tests intended to ensure Cargo wouldn't mistakenly add empty components to `LD_LIBRARY_PATH` (or its equivalents) but they could fail when the test runner already had empty components in `LD_LIBRARY_PATH` from their environment.


Trivial merge